<%@page pageEncoding="UTF-8" %>
<!doctype html>
<html lang="zh-cmn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title></title>
    <base href="${pageContext.request.contextPath}/">
    <link rel="stylesheet" href="abc/css/bootstrap.css">
</head>
<body>
    <div class="container" style="width:70%;margin-top:70px">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h4>用户登录</h4>
            </div>
            <div class="panel-body">
                <form class="form-horizontal" method="post" action="login">
                    <div class="form-group">
                    <span style="color:red">${exception.message}</span>
                    </div>
                    <div class="form-group">
                        <label for="" class="control-label col-md-3">用户名：</label>
                        <div class="col-md-7">
                            <input type="text" name="userCode" class="form-control"/>
                        </div>
                    </div>
                    <div class="form-group">
                    <label for="" class="control-label col-md-3">密码：</label>
                    <div class="col-md-7">
                        <input type="password" name="userPassword" class="form-control"/>
                    </div>

            </div>
                    <div class="form-group">
                        <div class="col-md-4  col-md-offset-4">
                            <button class="btn btn-primary form-control" type="submit">登录</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</body>
</html>
